package com.pmx.mall.search.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    @Autowired
    StringRedisTemplate stringRedisTemplate;

    //    @Trace
    @GetMapping({"/", "/home", "/index"})
    public String index(Model model) {
        return "index";
    }

}
